﻿

#region Using Statements

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using System.Threading;
using System.ComponentModel;
using System.Reflection;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Design;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

using Freeform;
using FGame = Freeform.Game;
using XGame = Microsoft.Xna.Framework.Game;
using FComponent = Freeform.Component;
using FViewport = Freeform.Viewport;

#endregion


namespace Freeform
{
    /// <summary>
    /// Class description.
    /// </summary>
    public class TileMap2D
    {

        #region Events

        #endregion


        #region Members

        public Int32 TileWidth { get; set; }
        public Int32 TileHeight { get; set; }
        public Texture2D TileSet { get; set;}
        public string TileSetName { get; set; }
        public TileLayer2D[] Layers { get; set; }
        public ObjectLayer2D Objects { get; set; }


        #endregion


        #region Init

        public TileMap2D(int layerCount, int objectCount)
        {
            Layers = new TileLayer2D[layerCount];
            Objects = new ObjectLayer2D();
        }

        #endregion


        #region Update

        #endregion


        #region Draw

        //public override void Draw(GameTime Time, FViewport Viewport)
        //{
        //    //base.Draw(Time, Viewport);
        //}

        #endregion


        #region Dispose

        #endregion


        #region Utility


        #endregion


        #region Implementation

        #endregion

    }
}
